package com.kymatrix.mpo.plus.bpm.server.model.form.task;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.experimental.Accessors;

@ApiModel(value = "管理后台 - 不通过流程任务的 Request")
@Data
@Accessors(chain=true)
public class RejectBpmTaskReq {

    @ApiModelProperty(value = "任务编号", example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String id;

    @ApiModelProperty(value = "审批意见", example = "不错不错！")
    @NotEmpty(message = "审批意见不能为空")
    private String reason;

}
